import request from "@/utils/request";

// 测试api
export const GetData = (url, params) => {
  return request({
    url: url,
    method: "GET",
    params,
  });
};

// 测试api
export const PostData = (url, params) => {
  return request({
    url: url,
    method: "POST",
    params,
  });
};
